//
//  BCEnabledBottomButton.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/6.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import "BCEnabledBottomButton.h"

@implementation BCEnabledBottomButton

- (void)setEnabled:(BOOL)enabled {
    [super setEnabled:enabled];
    //
    if (enabled) {
        if (self.enabledBackgorundColor) {
            self.backgroundColor = self.enabledBackgorundColor;
        }
    }else {
        if (self.unEnabledBackgorundColor) {
            self.backgroundColor = self.unEnabledBackgorundColor;
        }
    }
}

@end
